﻿using Microsoft.AspNetCore.Mvc;

namespace MVC_Demo.Controllers
{
    public class myView : Controller
    {
        /// <summary>
        ///在test控制器中添加myView方法
        /// </summary>
        /// <returns></returns>
     /*   [Route("/")]*/
        [Route("/index")]
        [Route("/home")]
        public IActionResult Index()
        {
            return View();
        }
    }
}
